<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加商品类型</title>
	<hdjs/>
</head>
<body>
	<form method="post" class="hd-form">
		<input type="hidden" name="pid" value="{$hd.get.pid|default:0}">
	<div class="wrap">
				<div class="menu_list">
					<ul>
						<li>
							<a href="{|U:'index'}">
								商品栏目
							</a>
						</li>
						<li>
							<a href="javascript:;" class="action">
								添加栏目
							</a>
						</li>
						<li>
							<a href="javascript:hd_ajax('{|U:updateCache}')">
								更新缓存
							</a>
						</li>
					</ul>
				</div>
				<div class="title-header">添加商品类型</div>
				<table class="table1">
					<tr>
						<th class="w150">栏目名称</th>
						<td>
							<input type="text" name="cname" class="w300">
						</td>
					</tr>
					<tr>
						<th class="w150">商品类型</th> 
						<td>
							<select name="gtid" >
								<option value="">===选择===</option>
								<list from="$goodstype" name="gt">
								<option value="{$gt.gtid}">{$gt.gtname}</option>
								</list>
							</select>
						</td>
					</tr>
					<tr>
						<th class="w150">关键字</th>
						<td>
							<input type="text" name="keywords" class="w300">
						</td>
					</tr>
					<tr>
						<th class="w150">描述</th>
						<td>
							<textarea name="description" class="w400 h100"></textarea>
						</td>
					</tr>
					<tr>
						<th>栏目类型</th>
						<td>
							<label><input type="radio" name="cattype" value="1" checked=""> 普通栏目 </label>
							<label><input type="radio" name="cattype" value="2"> 封面 </label>
						</td>
					</tr>
					<tr>
						<th class="w150">单位</th>
						<td>
							<input type="text" name="unit" class="w300" value="个">
						</td>
					</tr>
					<tr>
						<th class="w150">价格区间</th>
						<td>
							<input type="text" name="pricerange" class="w300" value="3">
						</td>
					</tr>
				</table>
				<div class='position-bottom'>
					<input type="submit" value="确定" class='hd-success'>
				</div>
		</div>
		</form>
</body>
</html>